/**
 * Author: sxygsj
 * Date: 2020/5/6 11:01
 * Description: 人员实体类
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
package com.example.rydwlib.bean

import java.io.Serializable

/**
 * Author: sxygsj
 * Date: 2020/5/6 11:01
 * Description: 人员实体类
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
data class RyRegionData(
    val regioncheckpersonnum: Int,
    val regioncount: Int,
    val regionname: String,
    val regionnum: String,
    val regiontype: String
)

data class RyCountData(
    val callnum: Int,
    val checkpersonnum: Int,
    val classtime: Int,
    val datatime: String,
    val leadernum: Int,
    val maxworktime: Int,
    val minecode: String,
    val minename: Any,
    val minenum: Int,
    val overminenum: Int,
    val overtimenum: Int,
    val realtimenum: Int,
    val specialalarmnum: Int,
    val specianum: Int,
    val sysalarmnum: Int
)

data class RyMainData(
    val countData: RyCountData,
    val regionList: List<ArrayList<RyRegionData>>
)

data class RyAlarmData(
    val overpersonalarm: List<OverpersonalarmBean>,
    val overtimealarm: List<Overtimealarm>,
    val personcallalarm: List<Personcallalarm>,
    val specialpersonabnorma: List<SpecialpersonabnormaBean>,
    val sysalarm: List<Sysalarm>
)

data class Overtimealarm(
    val Duration: String,
    val alarmendtime: String,
    val alarmstarttime: String,
    val cardnumber: String,
    val dataTime: String,
    val id: Int,
    val inserttime: String,
    val minecode: String,
    val minename: String,
    val onregiontime: String,
    val onstationtime: String,
    val onwelltime: String,
    val personname: String,
    val regionname: String,
    val regionnum: String,
    val stationname: String,
    val stationnum: String,
    val worktype: String
)

data class Personcallalarm(
    val Duration: String,
    val alarmendtime: String,
    val alarmstarttime: String,
    val cardnumber: String,
    val dataTime: String,
    val id: Int,
    val inserttime: String,
    val minecode: String,
    val minename: String,
    val personname: String
)

data class Sysalarm(
    val Duration: String,
    val abnormalendtime: String,
    val abnormalstarttime: String,
    val abnormaltext: String,
    val dataTime: String,
    val id: Int,
    val inserttime: String,
    val minecode: String,
    val minename: String,
    val operatetext: String,
    val staionname: String,
    val stationnum: String
)

data class OverpersonalarmBean(

    var id: Int,
    var minecode: String,
    var minename: String,
    var overpersontype: String,
    var requiredpersonnum: Int,
    var totalpersonnum: Int,
    var regionnum: Int,
    var regionname: String,
    var alarmstarttime: String,
    var alarmendtime: String,
    var regionpersoncard: String,
    var department: String,
    var inserttime: String,
    var duration: Int,
    var dataTime: String
)

data class SpecialpersonabnormaBean(
    var id: Int,
    var minecode: String,
    var minename: String,
    var cardnumber: String,
    var personname: String,
    var shouldarrivestationnum: Int,
    var shouldarrivestationname: String,
    var shouldtime: String,
    var state: String,
    var realarrivetime: String,
    var abnormaltime: String,
    var spePersonExp: String,
    var inserttime: String,
    var duration: Int,
    var dataTime: String
)

data class RyPersonData(
    val cardnumber: String,
    val dataTime: String,
    val department: String,
    val onoutwellstate: String,
    val onregiontime: String,
    val onstationtime: String,
    val onwelltime: String,
    val personPost: String,
    val personname: String,
    val regionname: String,
    val regionnum: String,
    val stationname: String,
    val stationnum: String
)

data class RyRegionCount(
    val regioncount: Int,
    val regiontype: String
)

data class RyReportData(
    val regionCount: List<RyRegionCount>,
    val reginChart: List<List<RyRegionData>>
)

data class RyNickBean(
    val minename: String,
    val minecode: String,
    val netStatus: String,
    val realtimenum: String,
    val leadernum: String ,
    val specianum: String ,
    val overtimenum: String,
    val datatime:String
)